import request from "./request";

export default {
    getOrderData(params) {
        return request({ url: "/admin/settlement/getOrderData", method: "get", params });
    },
    getOrderDetails(orderId) {
        return request({ url: `/admin/settlement/getOrderDetails?orderId=${orderId}`, method: "get" });
    },
    deleteOrder(orderId) {
        return request({ url: `/admin/settlement/deleteOrder?orderId=${orderId}`, method: "get" });
    }
};
